@font-face {
	font-family: mf;
	src: url(../fonts/mf.ttf);
}

@font-face {
	font-family: mono;
	src: url(../fonts/mono.ttf);
}

body {
	margin: 1em;
	font-family: mf;
}

footer {
	text-align: center;
}

#hitcount {
	font-family: mono;
}

a {
	color: blue;
	text-decoration: none;
}

a:visited {
	color: blue;
}

a:hover {
	color: orange;
}

a:active {
	color: red;
}

.search {
	text-align: right;
	direction: rtl;
}

.search-words,
.search-submit {
	font-family: mf;
}

.search-header,
.search-results,
.search-no-results {
	direction: rtl;
	}

.search-entry-title a {
	display: inline-block;
}

.search-entry-language {
	display: none;
}

.search-entry {
	list-style: '◀  ';
}

.search-entry::marker{
	color: red;
}

pre {
	padding: 0.25em;
	overflow: auto;
	border: 1px solid lightgray;
	border-radius: 0.25em;
}
	
code,
kbd,
pre,
samp {
	font-family: mono;
	font-size: 1em;
}

box {
	border: 1px solid lightgray;
	border-radius: 0.25em;
	padding: 0.5em;
	margin-top: 0.25em;
	white-space: pre;
	display: block;
	width: content;
	overflow: auto;
}

.topnav {
	overflow: hidden;
	position: relative;
}

.topnav #i18n-nav {
	direction: rtl;
	display: none;
	overflow: auto;
	white-space: nowrap;
}

.topnav #i18n-nav ul {
	margin: 0 1em 0 0;
	padding: 0;
	line-height: 50%;
	color: red;
}

.topnav #i18n-nav li {
	margin: 0 2em 0 0;
	padding: 0;
	line-height: 50%;
	list-style: '◁';
	color: red;
}

.topnav #i18n-nav ul a,
.topnav #i18n-nav li a {
	display: inline-block;
}

.topnav #i18n-nav .currentpath {
	list-style: '◣';
	color: red;
}

.topnav #i18n-nav .current {
	list-style: '◀';
	color: red;
}

.topnav a {
	padding: 1em 1em;
	text-decoration: none;
	font-size: 1em;
	display: block;
}

.topnav a#icon {
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	color: blue;
}

.topnav .home,
.topnav a.home {
	margin-left: auto;
	margin-right: auto;
	padding-top: 0;
	padding-bottom: 0;
	display: block;
	position: static;
	text-align: center;
	max-width: 4em;
	overflow: hidden;
	direction: rtl;
	font-size: 3em;
}

.topnav a#innermenu {
	color: red;
	text-align: center;
	border-bottom: 1px solid red;
}

.tagline {
	text-align: center;
}

.breadcrumb {
	direction: rtl;
	list-style: none;
}

.breadcrumb a {
	display: inline-block;
	text-decoration: none;
	direction: rtl;
}

#index .breadcrumb {
	display:none; /* no reason to have breadcrumbs on homepage */
}

.title {
	text-align: center;
	direction: rtl;
}

